import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import {$httpFetch, $upload} from './utils/fetch'
//全局ui组件
import '@/common/js/ui_components_config.js'
//全局执行的方法
import '@/common/js/global.js'
import { Lazyload } from 'vant';
import  '@/common/filters/filterGroup'
import Vheader from './views/Vheader.vue'
Vue.use(Lazyload);
Vue.component('VHeader',Vheader)
Vue.prototype.$http = $httpFetch //注册全局方法
Vue.prototype.$upload = $upload //注册全局方法
Vue.config.productionTip = false

new Vue({
    router:router.router,
    store,
    render: h => h(App)
}).$mount('#app')
